package model;

/**
 * TUser entity. @author MyEclipse Persistence Tools
 */

public class TUser implements java.io.Serializable {

	// Fields

	private String userid;
	private String userpwd;
	private String teacherid;
	private String studentid;
	private Integer type;
	private String note;

	// Constructors

	/** default constructor */
	public TUser() {
	}

	/** minimal constructor */
	public TUser(String userid, String userpwd, Integer type) {
		this.userid = userid;
		this.userpwd = userpwd;
		this.type = type;
	}

	/** full constructor */
	public TUser(String userid, String userpwd, String teacherid,
			String studentid, Integer type, String note) {
		this.userid = userid;
		this.userpwd = userpwd;
		this.teacherid = teacherid;
		this.studentid = studentid;
		this.type = type;
		this.note = note;
	}

	// Property accessors

	public String getUserid() {
		return this.userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getUserpwd() {
		return this.userpwd;
	}

	public void setUserpwd(String userpwd) {
		this.userpwd = userpwd;
	}

	public String getTeacherid() {
		return this.teacherid;
	}

	public void setTeacherid(String teacherid) {
		this.teacherid = teacherid;
	}

	public String getStudentid() {
		return this.studentid;
	}

	public void setStudentid(String studentid) {
		this.studentid = studentid;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

}